Chuyển đổi các hệ cơ số C#

1 namespace WindowsFormsApplication1
2 {
3     
partial class Form1
4     {

5         ///
<summary>
6         ///
Required designer variable.
7         ///
</summary>
8         
private System.ComponentModel.IContainer components = null;
9
10         ///
<summary>
11         ///
Clean up any resources being used.
12         ///
</summary>
13         ///
<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
14         
protected override void Dispose(bool disposing)
15         {
16             
if (disposing && (components != null))
17             {
18                 components.Dispose();
19             }
20             
base.Dispose(disposing);
21         }
22
23         
#region Windows Form Designer generated code
24
25         ///
<summary>
26         ///
Required method for Designer support - do not modify
27         ///
the contents of this method with the code editor.
28         ///
</summary>
29         
private void InitializeComponent()
30         {
31             
this.textBox1 = new System.Windows.Forms.TextBox();
32             
this.label1 = new System.Windows.Forms.Label();
33             
this.button1 = new System.Windows.Forms.Button();
34             
this.button2 = new System.Windows.Forms.Button();
35             
this.button3 = new System.Windows.Forms.Button();
36             
this.button4 = new System.Windows.Forms.Button();
37             
this.button5 = new System.Windows.Forms.Button();
38             
this.button6 = new System.Windows.Forms.Button();
39             
this.button7 = new System.Windows.Forms.Button();
40             
this.button8 = new System.Windows.Forms.Button();
41             
this.button9 = new System.Windows.Forms.Button();
42             
this.button10 = new System.Windows.Forms.Button();
43             
this.button11 = new System.Windows.Forms.Button();
44             
this.button12 = new System.Windows.Forms.Button();
45             
this.textBox2 = new System.Windows.Forms.TextBox();
46             
this.label2 = new System.Windows.Forms.Label();
47             
this.button13 = new System.Windows.Forms.Button();
48             
this.SuspendLayout();
49             
//
50             
// textBox1
51             
//
52             
this.textBox1.Location = new System.Drawing.Point(166, 45);
53             
this.textBox1.Name = "textBox1";
54             
this.textBox1.Size = new System.Drawing.Size(161, 20);
55             
this.textBox1.TabIndex = 0;
56             
//
57             
// label1
58             
//
59             
this.label1.AutoSize = true;
60             
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
61             
this.label1.Location = new System.Drawing.Point(12, 45);
62             
this.label1.Name = "label1";
63             
this.label1.Size = new System.Drawing.Size(148, 20);
64             
this.label1.TabIndex = 1;
65             
this.label1.Text = "Nhập số cần đổi :";
66             
this.label1.Click += new System.EventHandler(this.label1_Click);
67             
//
68             
// button1
69             
//
70             
this.button1.BackColor = System.Drawing.SystemColors.Desktop;
71             
this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
72             
this.button1.ForeColor = System.Drawing.Color.Transparent;
73             
this.button1.Location = new System.Drawing.Point(12, 85);
74             
this.button1.Name = "button1";
75             
this.button1.Size = new System.Drawing.Size(75, 23);
76             
this.button1.TabIndex = 2;
77             
this.button1.Text = "dec to bin";
78             
this.button1.UseVisualStyleBackColor = false;
79             
this.button1.Click += new System.EventHandler(this.button1_Click);
80             
//
81             
// button2
82             
//
83             
this.button2.BackColor = System.Drawing.SystemColors.Desktop;
84             
this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
85             
this.button2.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
86             
this.button2.Location = new System.Drawing.Point(12, 114);
87             
this.button2.Name = "button2";
88             
this.button2.Size = new System.Drawing.Size(75, 23);
89             
this.button2.TabIndex = 3;
90             
this.button2.Text = "dec to oct";
91             
this.button2.UseVisualStyleBackColor = false;
92             
this.button2.Click += new System.EventHandler(this.button2_Click);
93             
//
94             
// button3
95             
//
96             
this.button3.BackColor = System.Drawing.SystemColors.Desktop;
97             
this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
98             
this.button3.ForeColor = System.Drawing.SystemColors.ButtonFace;
99             
this.button3.Location = new System.Drawing.Point(12, 143);
100             
this.button3.Name = "button3";
101             
this.button3.Size = new System.Drawing.Size(75, 23);
102             
this.button3.TabIndex = 4;
103             
this.button3.Text = "dec to hex";
104             
this.button3.UseVisualStyleBackColor = false;
105             
this.button3.Click += new System.EventHandler(this.button3_Click);
106             
//
107             
// button4
108             
//
109             
this.button4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
110             
this.button4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
111             
this.button4.ForeColor = System.Drawing.Color.Red;
112             
this.button4.Location = new System.Drawing.Point(101, 85);
113             
this.button4.Name = "button4";
114             
this.button4.Size = new System.Drawing.Size(75, 23);
115             
this.button4.TabIndex = 5;
116             
this.button4.Text = "bin to dec";
117             
this.button4.UseVisualStyleBackColor = false;
118             
this.button4.Click += new System.EventHandler(this.button4_Click);
119             
//
120             
// button5
121             
//
122             
this.button5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
123             
this.button5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
124             
this.button5.ForeColor = System.Drawing.Color.Red;
125             
this.button5.Location = new System.Drawing.Point(101, 114);
126             
this.button5.Name = "button5";
127             
this.button5.Size = new System.Drawing.Size(75, 23);
128             
this.button5.TabIndex = 6;
129             
this.button5.Text = "bin to oct";
130             
this.button5.UseVisualStyleBackColor = false;
131             
this.button5.Click += new System.EventHandler(this.button5_Click);
132             
//
133             
// button6
134             
//
135             
this.button6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
136             
this.button6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
137             
this.button6.ForeColor = System.Drawing.Color.Red;
138             
this.button6.Location = new System.Drawing.Point(101, 143);
139             
this.button6.Name = "button6";
140             
this.button6.Size = new System.Drawing.Size(75, 23);
141             
this.button6.TabIndex = 7;
142             
this.button6.Text = "bin to hex";
143             
this.button6.UseVisualStyleBackColor = false;
144             
this.button6.Click += new System.EventHandler(this.button6_Click);
145             
//
146             
// button7
147             
//
148             
this.button7.BackColor = System.Drawing.Color.Violet;
149             
this.button7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
150             
this.button7.Location = new System.Drawing.Point(191, 85);
151             
this.button7.Name = "button7";
152             
this.button7.Size = new System.Drawing.Size(75, 23);
153             
this.button7.TabIndex = 8;
154             
this.button7.Text = "oct to dec";
155             
this.button7.UseVisualStyleBackColor = false;
156             
this.button7.Click += new System.EventHandler(this.button7_Click);
157             
//
158             
// button8
159             
//
160             
this.button8.BackColor = System.Drawing.Color.Violet;
161             
this.button8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
162             
this.button8.Location = new System.Drawing.Point(191, 114);
163             
this.button8.Name = "button8";
164             
this.button8.Size = new System.Drawing.Size(75, 23);
165             
this.button8.TabIndex = 9;
166             
this.button8.Text = "oct to bin";
167             
this.button8.UseVisualStyleBackColor = false;
168             
this.button8.Click += new System.EventHandler(this.button8_Click);
169             
//
170             
// button9
171             
//
172             
this.button9.BackColor = System.Drawing.Color.Violet;
173             
this.button9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
174             
this.button9.Location = new System.Drawing.Point(191, 143);
175             
this.button9.Name = "button9";
176             
this.button9.Size = new System.Drawing.Size(75, 23);
177             
this.button9.TabIndex = 10;
178             
this.button9.Text = "oct to hex";
179             
this.button9.UseVisualStyleBackColor = false;
180             
this.button9.Click += new System.EventHandler(this.button9_Click);
181             
//
182             
// button10
183             
//
184             
this.button10.BackColor = System.Drawing.Color.LightPink;
185             
this.button10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
186             
this.button10.ForeColor = System.Drawing.Color.Blue;
187             
this.button10.Location = new System.Drawing.Point(286, 85);
188             
this.button10.Name = "button10";
189             
this.button10.Size = new System.Drawing.Size(79, 23);
190             
this.button10.TabIndex = 11;
191             
this.button10.Text = "hex to dec";
192             
this.button10.UseVisualStyleBackColor = false;
193             
this.button10.Click += new System.EventHandler(this.button10_Click);
194             
//
195             
// button11
196             
//
197             
this.button11.BackColor = System.Drawing.Color.LightPink;
198             
this.button11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
199             
this.button11.ForeColor = System.Drawing.Color.Blue;
200             
this.button11.Location = new System.Drawing.Point(286, 114);
201             
this.button11.Name = "button11";
202             
this.button11.Size = new System.Drawing.Size(79, 23);
203             
this.button11.TabIndex = 12;
204             
this.button11.Text = "hex to bin";
205             
this.button11.UseVisualStyleBackColor = false;
206             
this.button11.Click += new System.EventHandler(this.button11_Click);
207             
//
208             
// button12
209             
//
210             
this.button12.BackColor = System.Drawing.Color.LightPink;
211             
this.button12.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
212             
this.button12.ForeColor = System.Drawing.Color.Blue;
213             
this.button12.Location = new System.Drawing.Point(286, 143);
214             
this.button12.Name = "button12";
215             
this.button12.Size = new System.Drawing.Size(79, 23);
216             
this.button12.TabIndex = 13;
217             
this.button12.Text = "hex to oct";
218             
this.button12.UseVisualStyleBackColor = false;
219             
this.button12.Click += new System.EventHandler(this.button12_Click);
220             
//
221             
// textBox2
222             
//
223             
this.textBox2.Location = new System.Drawing.Point(166, 185);
224             
this.textBox2.Name = "textBox2";
225             
this.textBox2.Size = new System.Drawing.Size(161, 20);
226             
this.textBox2.TabIndex = 14;
227             
//
228             
// label2
229             
//
230             
this.label2.AutoSize = true;
231             
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
232             
this.label2.Location = new System.Drawing.Point(46, 185);
233             
this.label2.Name = "label2";
234             
this.label2.Size = new System.Drawing.Size(81, 20);
235             
this.label2.TabIndex = 15;
236             
this.label2.Text = "Kết quả :";
237             
//
238             
// button13
239             
//
240             
this.button13.BackColor = System.Drawing.Color.Aquamarine;
241             
this.button13.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
242             
this.button13.ForeColor = System.Drawing.Color.DarkMagenta;
243             
this.button13.Location = new System.Drawing.Point(323, 12);
244             
this.button13.Name = "button13";
245             
this.button13.Size = new System.Drawing.Size(42, 23);
246             
this.button13.TabIndex = 16;
247             
this.button13.Text = "help";
248             
this.button13.UseVisualStyleBackColor = false;
249             
this.button13.Click += new System.EventHandler(this.button13_Click);
250             
//
251             
// Form1
252             
//
253             
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
254             
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
255             
this.BackColor = System.Drawing.Color.Gainsboro;
256             
this.ClientSize = new System.Drawing.Size(377, 221);
257             
this.Controls.Add(this.button13);
258             
this.Controls.Add(this.label2);
259             
this.Controls.Add(this.textBox2);
260             
this.Controls.Add(this.button12);
261             
this.Controls.Add(this.button11);
262             
this.Controls.Add(this.button10);
263             
this.Controls.Add(this.button9);
264             
this.Controls.Add(this.button8);
265             
this.Controls.Add(this.button7);
266             
this.Controls.Add(this.button6);
267             
this.Controls.Add(this.button5);
268             
this.Controls.Add(this.button4);
269             
this.Controls.Add(this.button3);
270             
this.Controls.Add(this.button2);
271             
this.Controls.Add(this.button1);
272             
this.Controls.Add(this.label1);
273             
this.Controls.Add(this.textBox1);
274             
this.Name = "Form1";
275             
this.Text = "Đổi cơ số";
276             
this.ResumeLayout(false);
277             
this.PerformLayout();
278
279         }
280
281         
#endregion
282
283         
private System.Windows.Forms.TextBox textBox1;
284         
private System.Windows.Forms.Label label1;
285         
private System.Windows.Forms.Button button1;
286         
private System.Windows.Forms.Button button2;
287         
private System.Windows.Forms.Button button3;
288         
private System.Windows.Forms.Button button4;
289         
private System.Windows.Forms.Button button5;
290         
private System.Windows.Forms.Button button6;
291         
private System.Windows.Forms.Button button7;
292         
private System.Windows.Forms.Button button8;
293         
private System.Windows.Forms.Button button9;
294         
private System.Windows.Forms.Button button10;
295         
private System.Windows.Forms.Button button11;
296         
private System.Windows.Forms.Button button12;
297         
private System.Windows.Forms.TextBox textBox2;
298         
private System.Windows.Forms.Label label2;
299         
private System.Windows.Forms.Button button13;
300     }
301 }



Chuyển đổi các hệ cơ số C# 6.799 lượt xem

Gõ tìm kiếm nhanh...